export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  // viewBtn: true,
  labelWidth: 150,
  "column": [
    {
      "type": "select",
      "label": "记录状态",
      "prop": "status",
      dicUrl: '/admin/dict/type/asset_inventory_record_status',
      "span": 12
    },	  {
      type: 'upload',
      span: 24,
      loadText: '附件上传中，请稍等',
      listType:'picture-img',
      accept: ["image/png","image/jpeg","image/jpg"],
      tip: '只能上传jpg，png图片不超过20MB',
      fileSize: 20480,
      propsHttp: {
          res: 'data'
      },
      canvasOption: {
        text: ' ',
        ratio: 0.1
      },
      hide: true,
      action: "/act/file/upload",
      "label": "图片",
      "prop": "cover"
    }, {
      "type": "select",
      "label": "类别",
      "prop": "categoryId",
      "span": 12
    },	  {
      "type": "input",
      "label": "编码",
      "prop": "no",
      "span": 12
    },	  {
      "type": "input",
      "label": "名称",
      "prop": "name",
      search: true,
      "span": 12
    },	  {
      "type": "input",
      "label": "规格",
      "prop": "spec",
      "span": 12
    },	  {
      "type": "input",
      "label": "单位",
      "prop": "unit",
      "span": 12
    },	  {
      "type": "select",
      "label": "区域",
      "prop": "areaId",
      dicUrl: '/admin/sysarea/page?size=1000&current=1',
      props: {
        label: 'name',
        value:'areaId',
        res: "data.records"
      },
      "span": 12
    },	  {
      "type": "input",
      "label": "存放地点",
      "prop": "address",
      "span": 12,
    },	  {
      "type": "input",
      "label": "备注",
      "prop": "remark",
      hide: true,
      "span": 24
    },	  {
      "type": "input",
      "label": "使用部门",
      "prop": "useDeptName",
      "span": 12
    }  ]
}
